import Countdown from './countdown'

const install = function(Vue) {
  Vue.directive('Countdown', Countdown)
}

if (window.Vue) {
  window.countdown = Countdown
  Vue.use(install); // eslint-disable-line
}

Countdown.install = install
export default Countdown
